Gas therapy system

ABSTRACT

A respiratory event determination system can have a controller that determines the presence of a respiratory event. The respiratory event can be a mouth puff event. The controller determines the presence as a function of a sub-window of an expiratory window of the breath. The expiratory window extends between a first time t 1  and a second time t 2 . The sub-window is limited to a portion of the expiratory window. The sub-window can extend between a third time t 3  and a fourth time t 4 . The fourth time t 4  can be before the second time t 2 .

INCORPORATION BY REFERENCE TO ANY PRIORITY APPLICATIONS

Any and all applications for which a foreign or domestic priority claimis identified in the Application Data Sheet as filed with the presentapplication are incorporated by reference under 37 CFR 1.57 and made apart of this specification.

BACKGROUND Technical Field

The present disclosure generally relates to the determination ofrespiratory events. More particularly, the present disclosure generallyrelates to the determination of respiratory events as a function ofexpiratory portions of breaths.

Description of the Related Art

In patients suffering from obstructive sleep apnea (OSA), muscles thatnormally keep the upper airway open relax during slumber to the extentthat the airway is constrained or completely closed off, a phenomenonoften manifesting itself in instances of perceptible cessation ofbreathing or episodes of snoring. When this blockage of the airwayoccurs for a period of time, the patient's brain typically recognizesthe threat of hypoxia and partially wakes the patient in order to openthe airway so that normal breathing may resume. The patient may beunaware of these waking episodes or of associated blockages of theairway, which may occur as many as several hundred times per session ofsleep. These partial awakenings or blockages may significantly reducethe quality of the patient's sleep, over time potentially leading to avariety of symptoms, including excessive daytime sleepiness, chronicfatigue, elevated heart rate, elevated blood pressure, weight gain,headaches, irritability, depression and anxiety.

Obstructive sleep apnea is commonly treated with the application ofpositive airway pressure (PAP) therapy. PAP therapy involves deliveringa flow of gas to a patient at a therapeutic pressure above atmosphericpressure that will reduce the frequency and/or duration of apneas,hypopneas, and/or flow limitations. The therapy is often implemented byusing a positive airway pressure device to deliver a pressurized streamof air through a conduit to a patient through a patient interface ormask positioned on the face of the patient. A gases humidifier may beused to humidify gases being delivered to the patient.

BRIEF SUMMARY

Patient interfaces that form one or more seals with the nares, noseand/or mouth of the patient are generally used when administering PAPtherapy for the treatment of OSA. When selecting a patient interface fora particular patient, it is important to consider a number of factors,including the patient's comfortability with the patient interface andthe patient's manner of breathing. Generally, a nasal mask adapted toonly seal around the nose of the patient is perceived as lessobstructive and more patient-friendly than a full-face mask adapted toseal around both the nose and mouth of the patient. However, patientswho regularly breathe through the mouth or otherwise open the mouthduring a PAP therapy session generally require a full-face mask tomaximize the efficacy and comfort of the therapy. If a nasal mask isused with such patients, high gas flows passing through the mouth onexhalation can potentially dry out the oral mucosa, potentially causingdiscomfort to the patient. Additionally, gas leaks through the mouth canreduce the efficacy of the PAP therapy administered. Although care isgenerally taken to determine the patient's manner of breathing uponprescription of a patient interface, in some cases the patient's mannerof breathing can change. For example, a patient using a nasal mask maybe compelled to exhale through the mouth if experiencing nasalcongestion (for example, due to allergies or illness). It is desired todetermine the presence of a mouth puff event (periods of exhalationwhere the mouth happens to open) when a patient is wearing a nasal maskor other nasal interface.

Mouth puff, also known as valve-like mouth leak, can be characterized byregions of flatness in expiratory portions of flow waveformscorresponding to patient respiratory activity when the patient iswearing a nasal interface. Additionally, by studying the linearregression slope of expiratory portions of the flow waveform, the degreeof flatness can be determined. However, it has been realized that if theentire expiratory window of a given breath in the flow waveform is usedto determine the slope, steep transitions between inhalation andexhalation (or vice versa, steep transitions between exhalation andinhalation) can be present, potentially skewing the value of the slopeand reducing the certainty of a mouth puff determination.

To account for steep transitions, the linear regression slope can becalculated using a sub-window of the expiratory window of a given breathin the flow waveform. The sub-window can be defined by a predeterminedsection of the expiratory window. For example, if the expiratory windowextends from a first time t₁ to a second time t₂, the sub-window canextend from a third time t₃ that is at 20% or about 20% of the timebetween the first time t₁ and the second time t₂ and a fourth time t₄that is at 80% or about 80% of the time between the first time t₁ andthe second time t₂.

As another alternative, the sub-window might not be defined by apredetermined section of the expiratory window. The boundaries of thesub-window might be selected dynamically by analyzing characteristics ofthe expiratory window. In some cases, the boundaries of the sub-windowmight be selected by determining the first derivative of the expiratorywindow with respect to time (e.g. df/dt, where f represents a flow rate)and finding zero-crossings of the first derivative (e.g. regions wheredf/dt is zero or about zero). For example, the beginning of thesub-window might be selected such that is contemporaneous or aboutcontemporaneous with the first zero-crossing of the first derivative ofthe expiratory window. In other configurations, the beginning of thesub-window might be selected such that it is contemporaneous or aboutcontemporaneous with the second zero-crossing of the first derivative ofthe expiratory window. The end of the sub-window might be selected suchthat it is contemporaneous or about contemporaneous with the lastzero-crossing of the first derivative of the expiratory window.Dynamically selecting the boundaries of the sub-window can improve theaccuracy of the determination of a mouth puff event by accounting foridiosyncrasies of expiratory windows of individual breaths in a flowwaveform.

In one aspect, this disclosure relates to a respiratory eventdetermination system comprising a controller configured to determine apresence of a respiratory event as a function of a sub-window of anexpiratory window of a breath, wherein the expiratory window extendsbetween a first time t₁ and a second time t₂, and wherein the sub-windowis limited to a portion of the expiratory window extending between athird time t₃ and a fourth time t₄, the third time t₃ being after thefirst time t₁ and/or the fourth time t₄ being before the second time t₂.

The third time t₃ may be is after the first time t₁ and the fourth timet₄ may be before the second time t₂.

The third time t₃ may lie in the range of about 5% to about 35% of thetime between the first time t₁ and the second time t₂.

The third time t₃ may be at about 20% of the time between the first timeti and the second time t₂.

The fourth time t₄ may lie in the range of about 65% to about 95% of thetime between the first time t₁ and the second time t₂.

The fourth time t₄ may be at about 80% of the time between the firsttime ti and the second time t₂.

The third time t₃ may be selected such that it is a function of acharacteristic of the breath.

The third time t₃ may be selected such that it is a function of azero-crossing of a derivative of the expiratory window.

The third time t₃ may be selected such that it is contemporaneous orabout contemporaneous with a zero-crossing of a derivative of theexpiratory window.

The derivative of the expiratory window may be the first derivative ofthe expiratory window.

The zero-crossing may be a first zero-crossing.

The zero-crossing may be a second zero-crossing.

The function may be a piecewise function.

The piecewise function may be such that the third time t₃ is selectedsuch that it is set to a fifth time t₅ that is contemporaneous or aboutcontemporaneous with a time t_(zc1) of a first or second zero-crossingof a first derivative of the expiratory window if the time t_(zc1) ofthe first or second zero-crossing is less than or equal to a firstthreshold time t_(th1) between the first time t₁ and the second time t₂,and such that it is set to a sixth time t₆ if the time t_(zc1) of thefirst or second zero-crossing is greater than the first threshold timet_(th1) between the first time t₁ and the second time t₂.

The piecewise function may be such that the third time t₃ is selectedsuch that it is set to a fifth time t₅ that is contemporaneous or aboutcontemporaneous with a time t_(zc1) of a first or second zero-crossingof a first derivative of the expiratory window if the time t_(zc1) ofthe first or second zero-crossing is less than a first threshold timet_(th1) between the first time t₁ and the second time t₂, and such thatit is set to a sixth time t₆ if the time t_(zc1) of the first or secondzero-crossing is greater than or equal to the first threshold timet_(th1) between the first time t₁ and the second time t₂

The sixth time t₆ may be earlier than the first threshold time t_(th1).

The sixth time t₆ may lie in the range of about 5% to about 35% of thetime between the first time t₁ and the second time t₂.

The sixth time t₆ may be at about 20% of the time between the first timeti and the second time t₂.

The first threshold time t_(th1) may be a predetermined time between thefirst time t₁ and the second time t₂.

The fourth time t₄ may be selected as a function of a characteristic ofthe breath.

The fourth time t₄ may be selected such that it is a function of azero-crossing of a derivative of the expiratory window.

The fourth time t₄ may be selected such that it is contemporaneous orabout contemporaneous with a zero-crossing of a derivative of theexpiratory window.

The derivative may be a first derivative of the expiratory window.

The zero-crossing may be a last zero-crossing.

The function may be a piecewise function.

The piecewise function may be such that the fourth time t₄ is selectedsuch that it is set to a seventh time t₇ that is contemporaneous orabout contemporaneous with a time t_(zc2) of a last zero-crossing of thefirst derivative of the expiratory window if the time t_(zc2) of thelast zero-crossing is greater than or equal to a second threshold timet_(th2) between the first time t₁ and the second time t₂, and such thatit is set to an eighth time t₈ if the time t_(zc2) of the first orsecond zero-crossing is less than the second threshold time t_(th2)between the first time t₁ and the second time t₂.

The piecewise function may be such that the fourth time t₄ is selectedsuch that it is set to a seventh time t₇ that is contemporaneous orabout contemporaneous with a time t_(zc2) of a last zero-crossing of thefirst derivative of the expiratory window if the time t_(zc2) of thelast zero-crossing is greater than a second threshold time t_(th2)between the first time t₁ and the second time t₂, and such that it isset to an eighth time t₈ if the time t_(zc2) of the first or secondzero-crossing is less than or equal to the second threshold time t_(th2)between the first time t₁ and the second time t₂

The eighth time t₈ may be greater than the second threshold timet_(th2).

The eighth time t₈ may lie in the range of about 65% to about 95% of thetime between the first time t₁ and the second time t₂.

The eighth time t₈ may be at about 80% of the time between the firsttime ti and the second time t₂.

The second threshold time t_(th2) may be a predetermined time betweenthe first time t₁ and the second time t₂.

The respiratory event may comprise a mouth puff event.

The controller may be further configured to generate a non-eventdetermination signal if a linear regression slope of the expiratorywindow between the third time t₃ and the fourth time t₄ is greater thana respiratory event slope threshold res_(t).

The controller may be further configured to generate an eventdetermination signal if a linear regression slope of the expiratorywindow between the third time t₃ and the fourth time t₄ is less than orequal to a respiratory event slope threshold res_(t).

The controller may be further configured to generate a determinationsignal d_(s) upon determination of the presence of a respiratory event,and generate an event epoch signal if the determination signal ispresent for at least a first time period tp₁ within a second time periodtp₂.

The controller may be further configured to generate a determinationsignal d_(s) upon determination of the presence of a respiratory event,and generate an event epoch signal if the determination signal ispresent for at least a first number of breaths tb₁ within a secondnumber of breaths tb₂.

In a second aspect, this disclosure relates to a respiratory eventdetermination system comprising a controller configured to determine apresence of a respiratory event as a function of a sub-window of anexpiratory window of a breath, wherein the expiratory window extendsbetween a first time t₁ and a second time t₂, and wherein the sub-windowis limited to a portion of the expiratory window extending between athird time t₃ and a fourth time t₄, and wherein the third time t₃ is afunction of a time of a first or second zero-crossing of a firstderivative of the expiratory window.

The third time t₃ may be contemporaneous or about contemporaneous withthe first or second zero-crossing of the first derivative of theexpiratory window.

The fourth time t₄ may be a function of a time of a last zero-crossingof a first derivative of the expiratory window.

The fourth time t₄ may be contemporaneous or about contemporaneous withthe last zero-crossing of the first derivative of the expiratory window.

In a third aspect, this disclosure relates to a respiratory eventdetermination system comprising a controller configured to determine apresence of a respiratory event as a function of a sub-window of anexpiratory window of a breath, wherein the expiratory window extendsbetween a first time t₁ and a second time t₂, and wherein the sub-windowis limited to a portion of the expiratory window extending between athird time t₃ and a fourth time t₄, and wherein the fourth time t₄ is afunction of a time of a last zero-crossing of a first derivative of theexpiratory window.

The fourth time t₄ may be contemporaneous or about contemporaneous withthe last zero-crossing of the first derivative of the expiratory window.

In a fourth aspect, this disclosure relates to a method of using therespiratory event determination system according to any one of the abovestatements to determine the presence of a respiratory event.

The respiratory event may be a mouth puff event.

In a fifth aspect, this disclosure relates to a respiratory therapysystem comprising a respiratory event determination system according toany one of the above statements relating to the respiratory eventdetermination system.

The respiratory therapy system may comprise a flow generator.

The flow generator may be a PAP apparatus.

The controller may be further configured to adjust a pressure and/orflow rate of gases generated by the flow generator as a function of thedetermined presence or non-presence of the respiratory event.

The respiratory event may be a mouth puff event.

The pressure and/or flow rate of gases generated by the flow generatormay be decreased upon determination of the mouth puff event.

The respiratory therapy system may further comprises a humidifier.

The controller may be further configured to adjust an output humidity ofthe humidifier as a function of the determined presence or non-presenceof the respiratory event.

The respiratory event may be a mouth puff event.

The output humidity of the humidifier may be increased upondetermination of the mouth puff event.

The respiratory therapy system may further comprise a sealing patientinterface.

The respiratory therapy system may further comprise a gas deliveryconduit that links the flow generator to the sealing patient interface.

BRIEF DESCRIPTION OF THE DRAWINGS

Specific embodiments and modifications thereof will become apparent tothose skilled in the art from the detailed description herein havingreference to the figures that follow, of which:

FIG. 1 shows a schematic diagram of a respiratory therapy system.

FIG. 2 shows a flow waveform of an exemplary normal breath sample.

FIG. 3 shows the first derivative of the flow waveform of FIG. 2 withrespect to

FIG. 4 shows a flow waveform of an exemplary breath sample displayingsigns of mouth puff.

FIG. 5 shows the first derivative of the flow waveform of FIG. 4 withrespect to time.

FIG. 6 shows a magnified region of the first derivative shown in FIG. 5.

FIG. 7 shows a flow chart demonstrating a non-limiting exemplary methodof determining a mouth puff event.

FIG. 8 shows a flow chart demonstrating a non-limiting alternativeexemplary method of determining a mouth puff event.

FIG. 9 shows a flow chart demonstrating a non-limiting exemplary methodof determining a mouth puff epoch event.

DETAILED DESCRIPTION

With reference to the non-limiting exemplary embodiment illustrated inFIG. 1, a schematic of a respiratory therapy system 100 is shown. Therespiratory therapy system 100 comprises a flow generator 102. The flowgenerator 102 comprises a PAP device. The PAP device comprises a blower104. The flow generator 102 receives gases from a gases inlet 106. Gasesreceived by the flow generator 102 are propelled towards a patient. Inthe illustrated configuration, the flow generator 102 transfers thereceived gases to a gases humidifier 108. The gases humidifier 108humidifies the gases. The gases humidifier 108 may also heat the gases.In the illustrated configuration, the gases humidifier 108 is apass-over humidifier. Humidified gases are passed from a humidifieroutlet to a gases conduit 110. The gases conduit 110 comprises a heater112. The heater 112 heats gases passing through the gases conduit 110.The heater 112 reduces or prevents the condensation of moisture alongthe walls of the gases conduit 110. Gases are passed from the gasesconduit 110 to a patient interface 114 through which they are deliveredto a user. The respiratory therapy system 100 comprises a controller 116(including electronic components such as a microprocessor, for examplebut without limitation) that controls the operation of the flowgenerator 102. The controller 116 also controls the operation of thegases humidifier 108. The respiratory therapy system 100 comprises aninput/output (I/O) module 118. The I/O module 118 comprises a way for auser to interact with and set parameters for the flow generator 102and/or gases humidifier 108 (e.g. through the controller 116) as well asreceive information regarding the operation of the respiratory therapysystem 100 and/or its components or peripherals or accessories. The I/Omodule 118 may comprise, for example, buttons, knobs, dials, switches,levers, touch screens, speakers, displays and/or other input or outputelements. In some configurations, the I/O module 118 may be adapted tocommunicate with the controller 116 via a physical data connection (e.g.via a wire, etc). In other configurations, the I/O module 118 may beadapted to communicate with the controller 116 via a wireless dataconnection (e.g. via Bluetooth, WiFi, etc). In other configurations, thegas conduit 110 may not have a heater 112. In other configurations, thegases humidifier 108 may not be present, and the flow generator 102 mayinterface with the patient interface 114 (e.g. either directly or viathe gases conduit 110). In other configurations, the I/O module 118 maynot be present. In some such configurations, in lieu of an input devicethe flow generator 102 may be controlled dependent on the determinationof a patient usage signal (e.g. via sensing of respiratory activitythrough the use of a flow or pressure sensor, sensing of exhaled carbondioxide using a CO₂ sensor, etc). In some configurations the flowgenerator 102 comprises a motorized blower or compressor.

The flow generator 102 and gases humidifier 108 may be part of anintegrated flow delivery system or may share a housing. In theillustrated configuration, the flow generator 102 is a PAP apparatus. Inother configurations, the flow generator 102 may comprise componentsother than PAP apparatus, including but not limited to high flow therapydevices or ventilation devices. If a PAP apparatus is utilized, the PAPapparatus may comprise a number of PAP apparatus variants, including butnot limited to continuous positive airway pressure (CPAP) apparatus,automatically adjusting positive airway pressure (APAP or AutoPAP)apparatus or bi-level positive airway pressure (BiPAP or bi-level PAP)apparatus. The patient interface 114 comprises a mask adapted to sealabout and channel gases to the nose of the user. In otherconfigurations, the patient interface 114 may comprise a semi-sealing ornon-sealing interface to provide a flow of gases to the nose of the user(a nasal interface). In other configurations the patient interface 114may comprise a nasal pillows mask, a nasal cannula, combinations of theabove, or other gas conveying elements, apparatus or systems.

FIG. 2 shows an exemplary flow rate versus time graph. The graph shows aflow waveform representative of a normal breathing pattern as measuredusing a flow sensor in a PAP apparatus that is delivering CPAP therapy.As shown, the flow waveform is approximately sinusoidal or has asubstantially regular crescendo-decrescendo pattern. The flow waveformis marked by periods of exhalation (in which the recorded flow ratefalls as low as about 15 liters per minute (LPM) under the positivepressure gas flow) and by periods of inhalation (in which the recordedflow rate increases as high as about 60 LPM under the positive pressuregas flow).

FIG. 3 shows the first derivative of the flow rate versus time graphshown in FIG. 2 with respect to time (first derivative of the flowwaveform). As shown, the flow waveform (FIG. 2) and the first derivativeof the flow waveform (FIG. 3) are presented along the same time scale T.The first derivative of the flow waveform comprises some normaloscillation around the zero-crossing line (horizontal dotted linepertaining to df/dt=0) during periods of exhalation. No particularirregularities are shown.

FIG. 4 shows another exemplary flow rate versus time graph. The graphshows a flow waveform representative of an irregular breathing patternas measured using a flow sensor in a PAP apparatus that is deliveringCPAP therapy to a patient wearing a nasal mask or a nasal pillow mask orother nasal interface. The illustrated flow waveform exhibits signs ofmouth puff. As shown, the flow waveform is not as sinusoidal as the flowwaveform representative of normal breathing shown in FIG. 2. Theillustrated flow waveform is characterized by periods of exhalation (inwhich the recorded flow rate falls as low as about 25 LPM under thepositive pressure gas flow) and by periods of inhalation (in which therecorded flow rate increases as high as about 75 LPM under the positivepressure gas flow). However, the periods of exhalation are shown to haveportions F₁, F₂, F₃ that are substantially flat relative to the flowwaveform representative of normal breathing shown in FIG. 2. Theportions F₁, F₂, F₃ are substantially flat because much of the exhaledflow escapes through the mouth rather than through the nose.

FIG. 5 shows the first derivative of the flow rate versus time graphshown in FIG. 4 with respect to time (first derivative of the flowwaveform). As shown, the flow waveform (FIG. 4) and the first derivativeof the flow waveform (FIG. 5) are presented along the same time scale T.The first derivative of the flow waveform comprises oscillations aroundthe ‘zero-crossing’ line (horizontal dotted line pertaining to df/dt=0)during periods of exhalation that are relatively smaller than theoscillations seen in the flow waveform presented in FIG. 3. The smalloscillations give the impression that the flow waveform around theseperiods of exhalation is substantially flat.

FIG. 6 shows a magnified portion R of the first derivative of the flowwaveform illustrated in FIG. 5. The magnified portion R corresponds withthe first inhalation and first full exhalation (characterized bysubstantially flat portion F₂) shown in the flow waveform of FIG. 5. Asdescribed, the first derivative of the flow waveform illustrated inFIGS. 5 and 6 shows small oscillations around the zero-crossing line.The first derivative of the flow waveform crosses the zero-crossing lineat a number of points zc₁, zc₂, zc₃, zc₄, zc₅, zc₆, zc₇ (e.g.zero-crossing points or zero-crossings) as it oscillates to positionsabove and below the zero-crossing line over time. In some cases, and asdescribed elsewhere in the disclosure with reference to the accompanyingfigures, these zero-crossings can be used to select portions of theexpiratory window of the flow waveform for the determination of themouth puff events.

It should be understood that although the remaining portion of thedisclosure is directed towards the use of portions of the expiratorywindow of flow waveforms for determining the presence of mouth puff,certain features, aspects and advantages of at least one of theembodiments disclosed herein, including but not limited to embodimentspertaining to the selection of portions of the expiratory window, couldbe applied for determining the presence and/or type and/or severity ofother respiratory events or conditions. As an example, portions of theexpiratory window might be useful for determining the presence of ageneral mouth leak rather than mouth puff per se. For a mouth puff(valve-like mouth leak), the mouth opens during expiration only, or forpart of expiration only. In contrast, for mouth leak the mouth may beopen during both inspiration and expiration. As another example,instabilities in select portions of the expiratory window of a givenpatient might in some cases indicate that the patient's lungs aredamaged or dysfunctional, or that the patient is congested, wheezy orotherwise ill. The degree or severity of the instabilities mightindicate the degree or severity of lung damage, lung dysfunction,congestion, or illness. As another example, determined irregularities inselect portions of the expiratory flow waveform of a given patient mightbe used to assist in distinguishing between obstructive sleep apnea andcentral sleep apnea. However, if the whole expiratory window were usedin some such cases, aberrations at, for example, the beginning or end ofthe window might skew the analysis of the expiratory window, in turncausing the generation of an incorrect conclusory output signal.

For ease of description, the steps of various methods disclosed herein,including but not limited to the methods 200, 300, 400 described withreference to the accompanying figures, will be described as beingperformed by the controller 116 described elsewhere in this disclosurewith reference to FIG. 1. However, it should be understood that themethods 200, 300, 400 might be performed by other elements, apparatus orsystems, or might be performed in other ways. For example, multiplecontrollers might be used to perform different parts of the methods 200,300, 400. As another example, a controller outside of the respiratorytherapy system 100 but associated with the respiratory therapy system100 (for example, a controller of a server in electronic communicationwith the respiratory therapy system) might be used to perform at leastparts of the methods 200, 300, 400. Additionally, it should beunderstood that certain features, aspects and advantages of the presentdisclosure might be obtained by performing only portions of the methods200, 300, 400 described (e.g. sub-methods). In some configurations,certain portions of the methods 200, 300, 400 may be eschewed whileretaining certain features, aspects and advantages of the presentdisclosure. Additionally, it should be understood that certain features,aspects and advantages of the present disclosure might be obtained byperforming steps of the methods 200, 300, 400 in a different order tothat shown and described with reference to the accompanying figures.

FIG. 7 illustrates a flow chart describing a non-limiting exemplarymethod 200 for determining the presence of mouth puff. The method 200comprises a number of steps. In step 202, an instantaneous flow signalis obtained. The instantaneous flow signal might be obtained, forexample, by a flow sensor positioned in a portion of the respiratorytherapy system 100 exposed to gas flow and in pneumatic communicationwith an airway of a patient. The instantaneous flow signal pertains toan instantaneous flow value.

In step 204, the instantaneous flow signal is added to a flow analysisbuffer. The flow analysis buffer is configured to store a number ofinstantaneous flow readings for analysis in step 208, which is describedlater in this disclosure.

In step 206, the instantaneous flow signal is passed to a flow filter.The flow filter comprises a buffer configured to store a buffer of flowsignals. The flow filter is also configured to modulate the flow signalsstored in order to improve the signal-to-noise ratio of the signals. Toimprove the signal-to-noise ratio, the flow filter applies a digitalfilter to the flow signals in order to smooth the signals. The digitalfilter can comprise any one of a number of digital filters adapted tosmooth signals, including but not limited to a Savitsky-Golay filter.

In step 208, and in parallel with or at or about the same time as step206, the controller 116 is configured to analyze the flow signalsrecorded in the flow analysis buffer in step 204 to determine thepresence an individual breath in the buffer. The presence of individualbreaths (an individual breath comprising inspiration and expiration) maybe noted by analyzing the signals in the flow analysis buffer toidentify signals or points within the flow analysis buffer related tobreath features, including but not limited to virtual peaks, troughs,slopes and flat regions. Using these points, the controller 116 may thendetermine the presence of breath features including but not limited tothe start of a given breath, the end of the given breath, the start ofinspiration in the given breath, the end of inspiration in the givenbreath, pauses between inspiration and expiration, the start ofexpiration in the given breath, the end of expiration in the givenbreath, and pauses between expiration and inspiration. In theillustrated non-limiting configuration, the start of a given breath, theend of inspiration of the given breath, and the end of the given breathare determined using the flow analysis buffer. In some configurations,the controller 116 may perform a process of interpolation to construct avirtual flow waveform using the flow signals and analyze components ofthe virtual flow waveform to identify individual breaths and breathfeatures.

As each breath is determined, pointers relating to the positions ofbreath features of the determined breath are used in step 210 togetherwith relevant portions of the flow signals within the smoothed flowbuffer obtained in step 206. In step 210, a first derivative of the flowsignals within the smoothed flow buffer with respect to time isgenerated (df/dt).

In an alternative configuration, steps 206 and 208 need not necessarilyoccur in parallel or at or about the same time. In some configurations,steps 206 and 208 might occur in series. Flow signals received in theflow analysis buffer during step 204 may be smoothed using the flowfilter in step 206, and a distinct breath and associated breath featuresmay be found in step 208 by directly analyzing the smoothed flow signalsobtained using the flow buffer. This directly analyzed set of smoothedflow signals may instead be used in step 210.

The expiratory window of a breath is a part of the breath over whichexpiration occurs. As described elsewhere in this disclosure, analyzingportions of the expiratory window of a breath can be useful fordetermining the presence of respiratory events including but not limitedto mouth puff events. However, in some cases if the entire expiratorywindow is analyzed, steep transitions at the beginning or end of theexpiratory window (due to, for example, the presence of an exhalationthat is only initially particularly forceful or the presence of anexhalation with an unusually abrupt end) can skew the analysis of theexpiratory window for signs of respiratory events. Additionally, thenature of a particular patient's physiology, illness, or manner ofbreathing can cause aberrations to be detected at the beginning and endof the expiratory window, which in some cases can cause an incorrectdetermination of the presence or absence of a particular respiratoryevent.

Accordingly, for an expiratory window extending between a first time t₁and second time t₂, it has been realized that a sub-window within theexpiratory window can be selected and analyzed for the presence of mouthpuff. The sub-window may be defined as extending between a third time t₃and a fourth time t₄, wherein the third time t₃ is later than the firsttime t₁, and wherein the fourth time t₄ is contemporaneous, aboutcontemporaneous, or earlier than the second time t₂. Alternatively,sub-window may be defined as extending between a third time t₃ and afourth time t₄, wherein the third time t₃ is contemporaneous, aboutcontemporaneous or later than the first time t₁, and wherein the fourthtime t₄ is earlier than the second time t₂.

In some configurations, a sub-window within the expiratory window can beselected by finding zero-crossings (e.g. points where df/dt=0) of thefirst derivative of the flow waveform represented by the smoothed flowsignals. By selecting the sub-window using the zero-crossings, thesub-window can be selected on a breath-by-breath basis, allowing for themethod 200 to be used effectively on a diverse collection of patientshaving differently shaped expiratory windows.

In step 212, zero-crossings of the first derivative of the expiratorywindow of the flow waveform are identified by determining if the valueof df/dt of a given portion of the first derivative of the expiratorywindow is 0 or about 0 (for example, if the value of df/dt is less thanor equal to 0+a predetermined value, or if the value of df/dt is greaterthan or equal to 0−a predetermined value). As described elsewhere inthis specification, FIG. 6 shows zero-crossings zc₁-zc₇ of a firstderivative of an expiratory window of a flow waveform. Once thezero-crossings are identified, the sub-window of the expiratory windowmay be selected such that the third time t₃ is contemporaneous or aboutcontemporaneous with the time at which the first zero-crossing zc_(a)was observed and such that the fourth time t₄ is contemporaneous orabout contemporaneous with the time at which the last zero-crossingzc_(b) was observed. ‘About contemporaneous,’ as used here, could mean‘close to’ the time at which the relevant zero-crossing zc_(a), zc_(b)was observed (for example but without limitation, within 100, within 90,within 80, within 70, within 60, within 50, within 40, within 30, within20, or within 10 milliseconds of the time at which the relevantzero-crossing zc_(a), zc_(b) was observed. As a non-limiting example,and with reference to FIG. 6, the first zero-crossing zc₁ and the lastzero-crossing zc₇ could be chosen to define t₃ and t₄ of the sub-window.

It should be understood that although in the non-limiting example, thefirst and last zero-crossings were used to define the sub-window, inother configurations other zero-crossings might be used. For example,and with reference to FIG. 6, in some configurations the secondzero-crossing zc₂ might be chosen to define t₃. In some configurations,the second-to-last zero-crossing zc₆ might be chosen to define t₄.

With further reference to the non-limiting example described withreference to FIG. 7, in step 214 the first zero-crossing zc_(a) and thelast zero-crossing zc_(b) are checked with reference to their positionswithin the expiratory window. In some cases, the flow waveform analyzedmay be such that the first zero-crossing zc_(a) of the first derivativeof the expiratory portion of the flow waveform happens very late in theexpiratory portion of the breath represented by the flow waveform. Insome cases, the flow waveform analyzed may be such that the lastzero-crossing zc_(b) of the first derivative of the expiratory portionof the flow waveform happens very early in the expiratory portion of thebreath represented by the flow waveform. If the first zero-crossingzc_(a) occurs too late, or if the last zero-crossing zc_(b) occurs tooearly, the sub-window defined using the zero-crossings zc_(a), zc_(b)may be too small for analysis. The sub-window may not accurately orthoroughly represent the best portion of the expiratory window foranalysis.

In step 214, then, if the first zero-crossing zc_(a) of the firstderivative occurs at a time that is later than a first predeterminedtime or threshold time t_(th1) within the expiratory window, instead ofbeing set such that it is contemporaneous or about contemporaneous withthe time of the first zero-crossing zc_(a), the third time t₃ of thesub-window may be set such that it is contemporaneous or aboutcontemporaneous with a second predetermined time or threshold timet_(th2). If the last zero-crossing zc_(b) of the first derivative occursat a time that is earlier than a third predetermined time or thresholdtime t_(th3), instead of being set such that it is contemporaneous orabout contemporaneous with the time of the last zero-crossing zc_(b),the fourth time t₄ of the sub-window may be set such that it iscontemporaneous or about contemporaneous with a fourth predeterminedtime or threshold time t_(th4).

As an non-limiting example, and as shown in step 214, the firstthreshold time t_(th1) is set to the 50% portion of the expiratorywindow (e.g. set to a time halfway through the expiratory window), thesecond threshold time t_(th2) is set to the 20% portion of theexpiratory window (e.g. set to a time ⅕ of the way through theexpiratory window), the third threshold time t_(th3) is set to the 50%portion of the expiratory window, and the fourth threshold time t_(th4)is set to the 80% portion of the expiratory window. If the firstzero-crossing zc_(a) is determined to occur at the 60% portion of theexpiratory window, and the last zero-crossing is determined to occur atthe 90% portion of the expiratory window, then the sub-window is definedsuch that it extends between the third time t₃, which is set to the 20%portion of the expiratory window (t_(th2)), and the fourth time t₄,which is set to the 90% portion of the expiratory window (t_(zcb)). Insome embodiments, the second threshold time t_(th2) may be about 5% to35% of the expiratory window. In some embodiments, fourth threshold timemay be about 65% to about 95% of the expiratory window.

In light of step 214 as described, the third and fourth times t₃, t₄ maybe considered piecewise functions of the times of the first and lastzero-crossings of the first derivative:

$t_{3} = {{f\left( t_{zca} \right)} = \left\{ {{\begin{matrix}{t_{zca},\mspace{14mu}{{{if}\mspace{14mu} t_{zca}} < t_{{th}\; 1}}} \\{t_{{th}\; 2},\mspace{14mu}{{{if}\mspace{14mu} t_{zca}} \geq t_{{th}\; 1}}}\end{matrix}t_{4}} = {{f\left( t_{zcb} \right)} = \left\{ \begin{matrix}{t_{zcb},\mspace{14mu}{{{if}\mspace{14mu} t_{zcb}} > t_{{th}\; 3}}} \\{t_{{th}\; 4},\mspace{14mu}{{{if}\mspace{14mu} t_{zcb}} \leq t_{{th}\; 3}}}\end{matrix} \right.}} \right.}$

where t_(zca) is the determined time of the first ‘zero-crossing’ withinthe expiratory window t_(zca) and t_(zcb) is the determined time of thelast ‘zero-crossing’ within the expiratory window.

In step 216, once the third and fourth times t₃, t₄ of the sub-window ofthe expiratory window are defined, a linear regression slope S of theportion of the expiratory flow waveform represented by the sub-window iscalculated between the third and fourth times t₃, t₄.

In step 218, the calculated linear regression slope S of the portion ofthe expiratory flow waveform is checked against a slope thresholdS_(th). If the calculated linear regression slope S is determined to begreater than the slope threshold S_(th), the breath represented in partby the expiratory window is scored as a normal breath (step 222). If thecalculated linear regression slope S is determined to be less than orequal to the slope threshold S_(th), the breath represented in part bythe expiratory window is scored as a mouth puff breath (step 220). As anon-limiting example, the slope threshold is 0.015 lpm2. After either ofsteps 220 or 222, the controller 116 generates a signal indicative ofthe type of breath that was scored (e.g. either a mouth puff breath asscored in step 220 or a normal breath as scored in step 222, dependenton the calculated linear regression slope comparison conducted in step218).

It should be understood that although the above method 200 is describedin terms of finding zero-crossings of the first derivative of theexpiratory window, in other configurations other derivatives of theexpiratory window might be analyzed. For example but without limitation,aspects of the second, third or fourth derivative of the expiratorywindow might be used to score a mouth puff breath.

FIG. 8 illustrates a flow chart describing an alternative non-limitingexemplary method 300 for determining the presence of mouth puff. In themethod 300, many of the steps used are the same or similar to thosedescribed elsewhere in this disclosure with reference to FIG. 7. Similarreference numerals have been used to designate portions of the method300. Instead of performing steps 210, 212, and 214 to determinezero-crossings of the first derivative of expiratory window and definethe sub-window using the zero-crossings, step 313 may be performed. Instep 313, predetermined times are used to select the third time t₃ andthe fourth time t₄ of the sub-window of the expiratory window. The thirdtime t₃ may be set to a first predetermined time t_(p1) and the fourthtime t₄ may be set to a second predetermined time t_(p2). As anon-limiting example, if the first predetermined time t_(p1) is set tothe 20% portion of the expiratory window and the second predeterminedtime t_(p2) is set to the 80% portion of the expiratory window, then instep 313 the sub-window may be defined by a third time t₃=20% and afourth time t₄=80%. It should be understood that the sub-window might belimited in other manners. For example, the beginning of the sub-windowmight coincide with the beginning of the expiratory window (e.g. t₃=0%portion of the expiratory window) and only the end of the sub-windowmight be earlier than the end of the expiratory window (e.g. t₄<100%portion of the expiratory window). As another example, the beginning ofthe sub-window might be later than the beginning of the expiratorywindow (e.g. t₃>0% portion of the expiratory window) and the end of thesub-window might coincide with the end of the expiratory window (e.g.t₄=100% portion of the expiratory window). In some embodiments, thebeginning of the sub window may be about 5% to 35% of the expiratorywindow. In some embodiments, the end of the sub-window may be about 65%to about 95% of the expiratory window. Although dynamically determiningthe third time t₃ and the fourth time t₄ of the sub-window as performedin steps 210, 212, 214 of the method 200 shown in FIG. 7 is preferred,limiting the sub-window as in method 300 can still improve the accuracyand/or precision of the determination of a mouth puff breath.

FIG. 9 illustrates a flow chart describing a non-limiting exemplarymethod 400 for determining the presence of a mouth puff epoch. A mouthpuff epoch is an event representing the presence of a considerablenumber or percentage of mouth puff breaths over the course of apredetermined time period. The determination of a mouth puff epoch canimprove the certainty of a diagnosis of mouth puff for a patient byrequiring that a substantial number or proportion of breaths in a giventime period be classified as ‘mouth puff’ breaths before a determinationcan be made as shown in the disclosure below. In the illustratedconfiguration, the predetermined time period is 1 minute. However, inother configurations, other predetermined periods of time (including butnot limited to 30 seconds, 1.5 minutes, 2 minutes, 5 minutes, or 10minutes) might be used.

A time counter T representing the time elapsed since the start of themethod 400 is initialized to zero in step 401 before moving on to step402. Additionally, a mouth puff counter ML and a normal breathingcounter NB are initialized to zero. The functions of the mouth puffcounter ML and the normal breathing counter NB are described below.

In step 402, flow signals are received representing the expiratorywindow of a breath. The flow signals may be processed in a number ofmanners, including but not limited to manners that are the same as orsimilar to those described elsewhere in this disclosure with referenceto steps 204, 206, and/or 208 and FIG. 7.

In step 404, a sub-window of the expiratory window of the breath isdetermined. The sub-window may be determined in a number of manners,including but not limited to manners that are the same as or similar tothose described elsewhere in this disclosure with reference to steps210, 212, 214 and FIG. 7 or to those described elsewhere in thisdisclosure with reference to step 313 and FIG. 8.

In step 406, a linear regression slope S of the sub-window isdetermined. The linear regression slope S of the sub-window may bedetermined in a number of manners, including but not limited to mannersthat are the same as or similar to those described elsewhere in thisdisclosure with reference to step 216 and FIG. 7.

In step 408, the determined linear regression slope S is comparedagainst a threshold slope. The determined linear regression slope S maybe compared in a number of manners, including but not limited to mannersthat are the same as or similar to those described elsewhere in thisdisclosure with reference to step 218 and FIG. 7.

Dependent of the output of the comparison in step 408, either a mouthpuff is scored and the mouth puff counter ML is incremented by 1 (step410) or normal breathing is scored and the normal breathing counter NBis incremented by 1 (step 412).

After incrementing either the mouth puff counter ML in step 410 or thenormal breathing counter NB in step 412, the timer T is checked in step414. If the timer T indicates that less than one minute has elapsedsince initialization, the method 400 loops such that step 402 isperformed on the next expiratory window received. If at least one minutehas elapsed, step 416 is performed.

In step 416, an MLEpoch variable is calculated. In the illustratedexample, MLEpoch equals (ML/(ML+NB)). As an example, if 9 mouth puffbreaths (ML=9) and 3 normal breaths (NB=3) are scored before step 416occurs, MLEpoch equals (9/(9+3)) or 0.75.

In step 418, the calculated MLEpoch is compared against a thresholdMLEpoch. In the illustrated example, the threshold MLEpoch equals 0.8.If the calculated MLEpoch is greater than or equal to 0.8, a mouth puffepoch signal is outputted by the controller 116 (step 420). If thecalculated MLEpoch is less than 0.8, a normal breathing epoch signal isoutputted by the controller 116 (step 422). It may be understood thatthe mouth puff epoch signal is generated if 80% or more of the breathswithin the one-minute window represented by the timer T are determinedto be mouth puff breaths, and that the normal breathing epoch signal isgenerated if less than 80% of the breaths within the one-minute windowrepresented by the timer T are determined to be mouth puff breaths.

After either a mouth puff epoch signal or a normal breathing epochsignal is outputted, the method 400 loops such that step 401 isperformed. T, ML, and NB are set to zero and step 402 is performedagain.

Either the mouth puff signal generated in methods 200 or 300 withrespect to FIG. 7 or 8 or the mouth puff epoch signal generated inmethod 400 with respect to FIG. 9 may be used in a number of ways. Thecontroller 116 of the respiratory therapy system 100 may, upondetermination or receipt of such signals, cause a message or alert to beoutputted via the input/output module 118 (e.g. via a screen or speakerof the input/output module 118). The message or alert may comprise, forexample but without limitation, a tone, a series of tones, speech,written text, or flashing lights. In some configurations, the message oralert may suggest that the patient should consider using a full-facemask or that the patient should visit a physician to diagnose thepresence of mouth puff or mouth leak. The message or alert may beincorporated into a sleep report delivered to a physician.

In other configurations, the controller 116 of the respiratory therapysystem 100 may, upon determination or receipt of such signals, cause theflow generator 102 to decrease the pressure or flow rate of the gas flowdelivered to the patient. Decreasing the pressure or flow rate of thegas flow delivered can reduce drying out of the oral mucosa that canoccur when flow leaks from the mouth.

In still other configurations, the controller 116 of the respiratorytherapy system 100 may, upon the determination or receipt of suchsignals, cause the humidifier 108 to increase the humidity of the gasflow delivered to the patient. Increasing the humidity content of thegas flow delivered can also reduce drying out of the oral mucosa thatcan occur when flow leaks from the mouth.

Some preferred features:

Paragraph 1. A respiratory event determination system comprising acontroller configured to determine a presence of a respiratory event asa function of a sub-window of an expiratory window of a breath, whereinthe expiratory window extends between a first time t₁ and a second timet₂, and wherein the sub-window is limited to a portion of the expiratorywindow extending between a third time t₃ and a fourth time t₄, the thirdtime t₃ being after the first time t₁ and/or the fourth time t₄ beingbefore the second time t₂.

Paragraph 2. The respiratory event determination system of Paragraph 1,wherein the third time t₃ is after the first time t₁ and the fourth timet₄ is before the second time t₂.

Paragraph 3. The respiratory event determination system of either ofParagraphs 1 or 2, wherein the third time t₃ lies in the range of about5% to about 35% of the time between the first time t₁ and the secondtime t₂.

Paragraph 4. The respiratory event determination system of any one ofParagraphs 1-3, wherein the third time t₃ is at about 20% of the timebetween the first time ti and the second time t₂.

Paragraph 5. The respiratory event determination system of any one ofParagraphs 1-4, wherein the fourth time t₄ lies in the range of about65% to about 95% of the time between the first time t₁ and the secondtime t₂.

Paragraph 6. The respiratory event determination system of any one ofParagraphs 1-5, wherein the fourth time t₄ is at about 80% of the timebetween the first time t₁ and the second time t₂.

Paragraph 7. The respiratory event determination system of any one ofParagraphs 1-6, wherein the third time t₃ is selected such that it is afunction of a characteristic of the breath.

Paragraph 8. The respiratory event determination system of any one ofParagraphs 1-7, wherein the third time t₃ is selected such that it is afunction of a zero-crossing of a derivative of the expiratory window.

Paragraph 9. The respiratory event determination system of Paragraph 8,wherein the third time t₃ is selected such that it is contemporaneous orabout contemporaneous with a zero-crossing of a derivative of theexpiratory window.

Paragraph 10. The respiratory event determination system of either oneof Paragraphs 8 or 9, wherein the derivative of the expiratory window isthe first derivative of the expiratory window.

Paragraph 11. The respiratory event determination system of any one ofParagraphs 8-10, wherein the zero-crossing is a first zero-crossing.

Paragraph 12. The respiratory event determination system of any one ofParagraphs 8-10, wherein the zero-crossing is a second zero-crossing.

Paragraph 13. The respiratory event determination system of either ofParagraphs 7 or 8, wherein the function is a piecewise function.

Paragraph 14. The respiratory event determination system of Paragraph13, wherein the piecewise function is such that the third time t₃ isselected such that it is set to a fifth time t₅ that is contemporaneousor about contemporaneous with a time t_(zc1) of a first or secondzero-crossing of a first derivative of the expiratory window if the timet_(zc1) of the first or second zero-crossing is less than, or less thanor equal to a first threshold time t_(th1) between the first time t₁ andthe second time t₂, and such that it is set to a sixth time t₆ if thetime t_(zc1) of the first or second zero-crossing is greater than orequal to, or greater than the first threshold time tail between thefirst time t₁ and the second time t₂.

Paragraph 15. The respiratory event determination system of Paragraph14, wherein the sixth time t₆ is earlier than the first threshold timet_(th1).

Paragraph 16. The respiratory event determination system of either oneof Paragraphs 14 or 15, wherein the sixth time t₆ lies in the range ofabout 5% to about 35% of the time between the first time t₁ and thesecond time t₂.

Paragraph 17. The respiratory event determination system of any one ofParagraphs 14-16, wherein the sixth time t₆ is at about 20% of the timebetween the first time t₁ and the second time t₂.

Paragraph 18. The respiratory event determination system of any one ofParagraphs 14-17, wherein the first threshold time t_(th1) is apredetermined time between the first time t₁ and the second time t₂.

Paragraph 19. The respiratory event determination system of any one ofParagraphs 1-18, wherein the fourth time t₄ is selected as a function ofa characteristic of the breath.

Paragraph 20. The respiratory event determination system of any one ofParagraphs 1-19, wherein the fourth time t₄ is selected such that it isa function of a zero-crossing of a derivative of the expiratory window.

Paragraph 21. The respiratory event determination system of Paragraph20, wherein the fourth time t₄ is selected such that it iscontemporaneous or about contemporaneous with a zero-crossing of aderivative of the expiratory window.

Paragraph 22. The respiratory event determination system of either oneof Paragraphs 20 or 21, wherein the derivative is a first derivative ofthe expiratory window.

Paragraph 23. The respiratory event determination system of any one ofParagraphs 20-22, wherein the zero-crossing is a last zero-crossing.

Paragraph 24. The respiratory event determination system of either ofParagraphs 19 or 20, wherein the function is a piecewise function.

Paragraph 25. The respiratory event determination system of Paragraph24, wherein the piecewise function is such that the fourth time t₄ isselected such that it is set to a seventh time t₇ that iscontemporaneous or about contemporaneous with a time t_(zc2) of a lastzero-crossing of the first derivative of the expiratory window if thetime t_(zc2) of the last zero-crossing is greater than or equal to, orgreater than, a second threshold time t_(th2) between the first time t₁and the second time t₂, and such that it is set to an eighth time t₈ ifthe time t_(zc2) of the first or second zero-crossing is less than, orless than or equal to, the second threshold time t_(th2) between thefirst time t₁ and the second time t₂.

Paragraph 26. The respiratory event determination system of Paragraph25, wherein the eighth time t₈ is greater than the second threshold timet_(th2).

Paragraph 27. The respiratory event determination system of either ofParagraphs 25 or 26, wherein the eighth time t₈ lies in the range ofabout 65% to about 95% of the time between the first time t₁ and thesecond time t₂.

Paragraph 28. The respiratory event determination system of any one ofParagraphs 25-27, wherein the eighth time t₈ is at about 80% of the timebetween the first time ti and the second time t₂.

Paragraph 29. The respiratory event determination system of any one ofParagraphs 25-28, wherein the second threshold time t_(th2) is apredetermined time between the first time t₁ and the second time t₂.

Paragraph 30. The respiratory event determination system of any one ofParagraphs 1-29, wherein the respiratory event comprises a mouth puffevent.

Paragraph 31. The respiratory event determination system of any one ofParagraphs 1-30, wherein the controller is further configured togenerate a non-event determination signal if a linear regression slopeof the expiratory window between the third time t₃ and the fourth timet₄ is greater than a respiratory event slope threshold res_(t).

Paragraph 32. The respiratory event determination system of any one ofParagraphs 1-31, wherein the controller is further configured togenerate an event determination signal if a linear regression slope ofthe expiratory window between the third time t₃ and the fourth time t₄is less than or equal to a respiratory event slope threshold res_(t).

Paragraph 33. The respiratory event determination system of any one ofParagraphs 1-32, wherein the controller is further configured togenerate a determination signal d_(s) upon determination of the presenceof a respiratory event, and generate an event epoch signal if thedetermination signal is present for at least a first time period tp₁within a second time period tp₂.

Paragraph 34. The respiratory event determination system of any one ofParagraphs 1-32, wherein the controller is further configured togenerate a determination signal d_(s) upon determination of the presenceof a respiratory event, and generate an event epoch signal if thedetermination signal is present for at least a first number of breathstb₁ within a second number of breaths tb₂.

Paragraph 35. A respiratory event determination system comprising acontroller configured to determine a presence of a respiratory event asa function of a sub-window of an expiratory window of a breath, whereinthe expiratory window extends between a first time t₁ and a second timet₂, and wherein the sub-window is limited to a portion of the expiratorywindow extending between a third time t₃ and a fourth time t₄, andwherein the third time t₃ is a function of a time of a first or secondzero-crossing of a first derivative of the expiratory window.

Paragraph 36. The respiratory event determination system of Paragraph35, wherein the third time t₃ is contemporaneous or aboutcontemporaneous with the first or second zero-crossing of the firstderivative of the expiratory window.

Paragraph 37. The respiratory event determination system of either oneof Paragraphs 35-36, wherein the fourth time t₄ is a function of a timeof a last zero-crossing of a first derivative of the expiratory window.

Paragraph 38. The respiratory event determination system of Paragraph37, wherein the fourth time t₄ is contemporaneous or aboutcontemporaneous with the last zero-crossing of the first derivative ofthe expiratory window.

Paragraph 39. A respiratory event determination system comprising acontroller configured to determine a presence of a respiratory event asa function of a sub-window of an expiratory window of a breath, whereinthe expiratory window extends between a first time t₁ and a second timet₂, and wherein the sub-window is limited to a portion of the expiratorywindow extending between a third time t₃ and a fourth time t₄, andwherein the fourth time t₃ is a function of a time of a lastzero-crossing of a first derivative of the expiratory window.

Paragraph 40. The respiratory event determination system of Paragraph39, wherein the fourth time t₄ is contemporaneous or aboutcontemporaneous with the last zero-crossing of the first derivative ofthe expiratory window.

Paragraph 41. A method of using the respiratory event determinationsystem of any one of Paragraphs 1-40 to determine the presence of arespiratory event.

Paragraph 42. The method of Paragraph 41, wherein the respiratory eventis a mouth puff event.

Paragraph 43. A respiratory therapy system comprising a respiratoryevent determination system according to any one of Paragraphs 1-40.

Paragraph 44. The respiratory therapy system of Paragraph 43, furthercomprising a flow generator.

Paragraph 45. The respiratory therapy system of Paragraph 44, whereinthe flow generator is a PAP apparatus.

Paragraph 46. The respiratory therapy system of either of Paragraphs 44or 45, wherein the controller is further configured to adjust a pressureand/or flow rate of gases generated by the flow generator as a functionof the determined presence or non-presence of the respiratory event.

Paragraph 47. The respiratory therapy system of Paragraph 46, whereinthe respiratory event is a mouth puff event.

Paragraph 48. The respiratory therapy system of Paragraph 47, whereinthe pressure and/or flow rate of gases generated by the flow generatoris decreased upon determination of the mouth puff event.

Paragraph 49. The respiratory therapy system of any one of Paragraphs43-48, further comprising a humidifier.

Paragraph 50. The respiratory therapy system of Paragraph 49, whereinthe controller is further configured to adjust an output humidity of thehumidifier as a function of the determined presence or non-presence ofthe respiratory event.

Paragraph 51. The respiratory therapy system of Paragraph 50, whereinthe respiratory event is a mouth puff event.

Paragraph 52. The respiratory therapy system of Paragraph 51, whereinthe output humidity of the humidifier is increased upon determination ofthe mouth puff event.

Paragraph 53. The respiratory therapy system of any one of Paragraphs43-52, further comprising a sealing patient interface.

Paragraph 54. The respiratory therapy system of Paragraph 53, furthercomprising a gas delivery conduit that links the flow generator to thesealing patient interface.

Paragraph 55. A breath monitoring system substantially as shown anddescribed with reference to the accompanying figures.

Paragraph 56. A respiratory therapy system substantially as shown anddescribed with reference to the accompanying figures.

Paragraph 57. A PAP apparatus substantially as shown and described withreference to the accompanying figures.

Paragraph 58. A method of determining the presence of a respiratoryevent substantially as shown and described with reference to theaccompanying figures.

Paragraph 59. A method of determining the presence of mouth puff,determining the presence of a mouth puff event, or determining thepresence of a mouth puff epoch event substantially as shown anddescribed with reference to the accompanying figures.

Paragraph 60. A mouth puff determination system comprising a controllerconfigured to determine a presence of a respiratory event as a functionof a sub-window of an expiratory window of a breath, wherein theexpiratory window extends between a first time ti and a second time t₂,and wherein the sub-window is limited to a portion of the expiratorywindow extending between a third time t₃ and a fourth time t₄, thefourth time t₄ being before the second time t₂.

Paragraph 61. A method of determining the presence of a respiratoryevent, comprising analyzing the output of a function of a sub-window ofan expiratory window of a breath, wherein the expiratory window extendsbetween a first time t₁ and a second time t₂, and wherein the sub-windowis limited to a portion of the expiratory window extending between athird time t₃ and a fourth time t₄, the fourth time t₄ being before thesecond time t₂.

Unless the context clearly requires otherwise, throughout thedescription and the claims, the words “comprise”, “comprising”, and thelike, are to be construed in an inclusive sense as opposed to anexclusive or exhaustive sense, that is to say, in the sense of“including, but not limited to.”

Where, in the foregoing description reference has been made to integersor components having known equivalents thereof, those integers orcomponents are herein incorporated as if individually set forth.

The disclosed methods, apparatus and systems may also be said broadly tocomprise the parts, elements and features referred to or indicated inthe disclosure, individually or collectively, in any or all combinationsof two or more of said parts, elements or features.

Reference to any prior art in this specification is not, and should notbe taken as, an acknowledgement or any form of suggestion that thatprior art forms part of the common general knowledge in the field ofendeavour in any country in the world.

Language of degree used herein, such as the terms “approximately,”“about,” “generally,” and “substantially,” as used herein represent avalue, amount or characteristic close to the stated value, amount orcharacteristic that still performs a desired function or achieves adesired result. The deviation from the stated value, amount orcharacteristic could, for example, reflect acceptable tolerances,conversion factors, rounding off, measurement error, or other factorsknown to those of skill in the art. For example, the terms “generallyparallel” and “substantially parallel” refer to a value, amount orcharacteristic that can depart from exactly parallel by less than orequal to 15 degrees, 10 degrees, 5 degrees, 3 degrees, 1 degree, 0.1degree, or otherwise.

Although the present disclosure has been described in terms of certainembodiments, other embodiments apparent to those of ordinary skill inthe art also are within the scope of this disclosure. Thus, variouschanges and modifications may be made without departing from the spiritand scope of the disclosure. For instance, various components may berepositioned as desired. Moreover, not all of the features, aspects andadvantages are necessarily required to practice the present disclosure.Accordingly, the scope of the present disclosure is intended to bedefined only by the claims that follow.

1-61. (canceled)
 62. A respiratory system for delivering a flow of gasesto a patient, the respiratory system comprising: a flow sensorconfigured to generate a flow signal based at least in part on gas flowwithin the respiratory system; a controller in electronic communicationwith the flow sensor, wherein the controller is configured to: determinea presence of a respiratory event as a function of the flow signalwithin a sub-window of an expiratory window of a breath, wherein theexpiratory window extends between a first time t₁ and a second time t₂,and wherein the sub-window is limited to a portion of the expiratorywindow extending between a third time t₃ and a fourth time t₄, the thirdtime t₃ being after the first time ti, wherein the third time t₃ isselected as a piecewise function of a characteristic of the breath. 63.The respiratory event determination system of claim 62, wherein thethird time t₃ lies in the range of about 5% to about 35% of the timebetween the first time t₁ and the second time t₂.
 64. The respiratoryevent determination system of claim 62, wherein the third time t₃ may beselected such that it is a function of a zero-crossing of a derivativeof the flow signal within the expiratory window.
 65. The respiratoryevent determination system of claim 64, wherein the third time t₃ may beselected such that it is contemporaneous or about contemporaneous withthe zero-crossing of a derivative of the flow signal within theexpiratory window.
 66. The respiratory event determination system ofclaim 62, wherein the piecewise function is such that the third time t₃is selected such that it is set to a fifth time t₅ that iscontemporaneous or about contemporaneous with a time t_(zc1) of a firstor second zero-crossing of a first derivative of the flow signal withinthe expiratory window if the time t_(zc1) of the first or secondzero-crossing is less than or equal to a first threshold time t_(th1)between the first time t₁ and the second time t₂, and such that it isset to a sixth time t₆ if the time t_(zc1) of the first or secondzero-crossing is greater than or equal to the first threshold timet_(th1) between the first time t₁ and the second time t₂.
 67. Therespiratory event determination system of claim 66, wherein the sixthtime t₆ is earlier than the first threshold time t_(th1).
 68. Therespiratory event determination system of claim 66, wherein the sixthtime t₆ lies in the range of about 5% to about 35% of the time betweenthe first time t₁ and the second time t₂.
 69. The respiratory eventdetermination system of claim 66, wherein the sixth time t₆ is at about20% of the time between the first time t₁ and the second time t₂. 70.The respiratory event determination system of claim 62, wherein therespiratory event comprises a mouth puff event.
 71. A respiratory systemfor delivering a flow of gases to a patient, the respiratory systemcomprising: a flow sensor configured to generate a flow signal based atleast in part on gas flow within the respiratory system; a controller inelectronic communication with the flow sensor, wherein the controller isconfigured to: determine a presence of a respiratory event as a functionof the flow signal within a sub-window of an expiratory window of abreath, wherein the expiratory window extends between a first time t₁and a second time t₂, and wherein the sub-window is limited to a portionof the expiratory window extending between a third time t₃ and a fourthtime t₄, the fourth time t₄ being before the second time t₂, wherein thefourth time t₄ is selected as a piecewise function of a characteristicof the breath.
 72. The respiratory event determination system of claim71, wherein the fourth time t₄ lies in the range of about 65% to about95% of the time between the first time t₁ and the second time t₂. 73.The respiratory event determination system of claim 71, wherein thefourth time t₄ is selected such that it is a function of a zero-crossingof a derivative of the flow signal within the expiratory window.
 74. Therespiratory event determination system of claim 73, wherein the fourthtime t₄ is selected such that it is contemporaneous or aboutcontemporaneous with a zero-crossing of a derivative of the flow signalwithin the expiratory window.
 75. The respiratory event determinationsystem of claim 71, wherein the piecewise function is such that thefourth time t₄ is selected such that it is set to a seventh time t₇ thatis contemporaneous or about contemporaneous with a time t_(zc2) of alast zero-crossing of the first derivative of the expiratory window ifthe time t_(zc2) of the last zero-crossing is greater than or equal to asecond threshold time t_(th2) between the first time t₁ and the secondtime t₂, and such that it is set to an eighth time t₈ if the timet_(zc2) of the first or second zero-crossing is less than or equal tothe second threshold time t_(th2) between the first time t₁ and thesecond time t₂.
 76. The respiratory event determination system of claim75, wherein the eighth time t₈ is greater than the second threshold timet_(th2).
 77. The respiratory event determination system of claim 75,wherein the eighth time t₈ lies in the range of about 65% to about 95%of the time between the first time t₁ and the second time t₂.
 78. Therespiratory event determination system of claim 75, wherein the eighthtime t₈ is at about 80% of the time between the first time t₁ and thesecond time t₂.
 79. The respiratory system of claim 71, wherein arespiratory event comprises a mouth puff event.